package com.crane.oss.app.bean.req;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description = "发布作业参数")
@Getter
@Setter
@ToString
public class AppPublishHomeWorkReq implements Serializable  {
	
	private static final long serialVersionUID = -6480661824820216041L;
	
	@ApiModelProperty(value = "标题", name = "title")
	@NotNull(message = "请输入作业标题")
	private String title;
	
	@ApiModelProperty(value = "内容", name = "context")
	@NotNull(message = "请输入作业内容")
	private String context;
	
	@ApiModelProperty(value = "提交截止天数", name = "submitTime")
	@NotNull(message = "请填写提交截止天数")
	private Integer submitTime;
	
	@ApiModelProperty(value = "校区id", name = "schoolId")
	@NotNull(message = "请选择校区")
	private Long schoolId;
	
	@ApiModelProperty(value = "学段id:", name = "sectionId")
	@NotNull(message = "请选择学段")
	private String sectionId;
	
	@ApiModelProperty(value = "年级", name = "nj")
	private int nj;
	
	@ApiModelProperty(value = "班级id", name = "classId")
	@NotNull(message = "请选择班级信息")
	private Long classId;
	
	@ApiModelProperty(value = "班级类型", name = "classType")
	private int classType;
	
	@ApiModelProperty(value = "规则:0只发布一次,1周内循环,2自定义", name = "loopRule")
	private int loopRule;
	
	@ApiModelProperty(value = "开始时间", name = "beginTime")
	@NotNull(message = "请输入开始时间")
	private Date beginTime;
	
	@ApiModelProperty(value = "结束时间", name = "endTime")
	@NotNull(message = "请输入结束时间")
	private Date endTime;
	
	@ApiModelProperty(value = "自定义天数:1;2;5", name = "reamrk")
	private String reamrk;
	
	@ApiModelProperty(value = "视频url:aaaa,bbbbb", name = "videoUrl")
	private String videoUrl;
	
	@ApiModelProperty(value = "图片url:aaaa,bbbbb", name = "pictureUrl")
	private String pictureUrl;
	
	@ApiModelProperty(value = "文件url:aaaa,bbbbb", name = "fileUrl")
	private String fileUrl;
	
//	@ApiModelProperty(value = "教师id", name = "teacherId")
//	@NotNull(message = "请填写教师信息")
//	private Long teacherId;

}
